
import { defineStore } from 'pinia'
const activeTab = defineStore("activeTab", {
    state: () => ({
        maintab: 'home',
        balisttab: 'tab1',
    }),
    getters: {

    },
    actions: {
        changeMainData(val) {
            this.maintab = val
        },
        changeBaListData(val) {
            this.balisttab = val
        },
    }

})

//暴露这个useCounter模块

export default activeTab

